<?php

namespace App\Controllers;

use Core\Controller;

class Home extends Controller
{
    /**
     * 对应: GET /
     */
    public function index(): void
    {
        echo "<h1>Welcome!</h1>";
        echo "This is the <strong>Home</strong> controller, <strong>index</strong> method.";
    }
}